<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","header"); ?> 
<!--main-->
<div id="INbox">
  <div id="group" class="INbanner">
    <div id="INbannerbox">
      <div id="InLeftTitle"><?php echo $CATEGORYS[$catid]['catname'];?></div>
    </div>
  </div>
  <div id="INmain">
  <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=7d47e9e63856ffcfd025ebac5ce38fc9&action=category&catid=%24catid&order=listorder+DESC&num=10\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>$catid,'order'=>'listorder DESC','limit'=>'10',));}?>
    <div id="Left">
      <ul>
      	<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
        <li><a href='<?php echo $r['url'];?>'  class="<?php if($r[catid] == $catid) { ?>Lefta<?php } ?>"><?php echo $r['catname'];?></a></li>
        <?php $n++;}unset($n); ?>
      </ul>
      <div id="LeftBottom"></div>
    </div>
   <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?> 
    <div id="Right">
      <div id="mbx">您所在的位置&nbsp;&gt;&nbsp;<a href="<?php echo siteurl($siteid);?>/index.php">首页</a>&nbsp;&gt;&nbsp;<a href="<?php echo $CATEGORYS[$catid]['url'];?>"><?php echo $CATEGORYS[$catid]['catname'];?></a></div>
      <div id="RightTitle"><?php echo $CATEGORYS[$catid]['catname'];?></div>
      <div id="RightBox">
        <div class="zj">
         <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=4dfaa1484e29dce56c9ad07b33213b18&action=lists&catid=%24catid&order=listorder+DESC&num=6&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 6;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>$catid,'order'=>'listorder DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, $urlrule);$data = $content_tag->lists(array('catid'=>$catid,'order'=>'listorder DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
          <ul>
         <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
            <li>
              
              <div class="zj1"><?php echo $r['title'];?></div>
              <div class="zj1_1"><a href="<?php echo $r['url'];?>"><IMG src="<?php echo $r['thumb'];?>"  style="width:222px; height:303px"/></a></div>
              <div class="zj1_2">
              	
                <p><?php echo str_cut($r[description],108,'..');?></p>
               
              </div>
              <div class="zj1_3"><a href="<?php echo $r['url'];?>"><img src="<?php echo IMG_PATH;?>kdddee_13.jpg" /></a></div>
             
            </li>
             <?php $n++;}unset($n); ?>
          </ul>
            <div id="pages" class="text-c" style="clear:both; text-align:center;"><?php echo $pages;?></div>
            <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?> 
        </div>
      </div>
    </div>
    <div class="cb"></div>
  </div>
</div>
<script type="text/javascript" src="swfobject.js"></script> 
<?php include template("content","footer"); ?>